package com.yq.topCode;

/**
 * @ClassName ListNode
 * @Description 单链表
 * @Author yaoqiang
 * @Date 2022/8/4 13:43
 * @Version 1.0
 */
public class ListNode {
    int val;
    ListNode next;

    public ListNode() {
    }

    public ListNode(int val, ListNode next) {
        this.val = val;
        this.next = next;
    }

    public ListNode(int val) {
        this.val = val;
    }

}
